package summer_vacation.xuqianlan;
import java.util.Scanner;
/**
 * Created by lenovo on 2015/9/3.
 */
public class Test_31 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        int a=input.nextInt();
        int b=input.nextInt();
        int n=a*a+b*b;
        if(n>100){
            int c=n/100;
            System.out.println(+c);
        }else {
            System.out.println(+a+b);
        }
    }
}
